/*
 * @Author       : lptecodad lptecodad@sina.com
 * @Date         : 2023-03-20 09:56:03
 * @LastEditors  : lptecodad lptecodad@sina.com
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
 */
import service from '/@/utils/request';

/**
 * （不建议写成 service.post(xxx)，因为这样 post 时，无法 params 与 data 同时传参）
 *
 */
export const useMeetingInfoQueryApi = (code: string) => {
    return service({
        url: `v0/meeting/employee/queryRoomEmployee`,
        method: 'GET',
        params: { code: code },
    });
}
export const useMeetingInfoPageApi = (formData?: object) => {
    return service({
        url: `v0/meeting/employee/import`,
        method: 'POST',
        data: formData
    });
}
export const useMeetingInfoTemplateApi = () => {
    return service({
        url: `v0/meeting/employee/template`,
        method: 'GET'
    });
}

